A global function like myFunction() automatically becomes a window method.

myFunction() is the same as window.myFunction().